<?php 
class PointController extends ApiController {
	
	public function actionFee() {
		$c = new CDbCriteria();
		$models = PointFee::model()->findAll($c);
		$result = array();
		
		foreach($models as $model) {
			$result[$model->name] = $model->attributes;
		}
		$this->_sendSuccess($result);
	}
	
}